﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Update.Model
{
    public class SoftwareMessage
    {
        public string SoftwareName { get; set; }//软件默认名称
        public string SoftwareNameExe { get { return SoftwareName + ".exe"; } }
        //public string RealName { get; set; }//修改过的软件名称
        //public string RealNameExe { get { return RealName + ".exe"; } }
        public string SoftFolder { get; set; }//软件目录
        public string UpdateZipFolder { get; set; }//更新软件目录
        //public string Version { get; set; }//软件版本
        public string NewVersion { get; set; }//从服务器上获得的版本号码
        public string LinkAddress { get; set; }//更新地址
        public string UpdateZipFile { get; set; }//更新压缩包名称
    }

    public class SharedMessage
    {
        public const string FOLDER = "SoftFolder";
        public const string DEFAULT = "SoftName";
    }
}
